<?php

namespace App\Http\Controllers\home;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class ShopcarController extends Controller
{
    public function getIndex(){
        //dd(session('id'));
        if(empty(session('id'))){
            return redirect('/home/login');
        }else{
            return view('/home/shopcar/index');
        }
        
    }

    
}
